package icu.d4peng.basic.core.constant;

/**
 * DateTimeConstant:时间格式常量
 *
 * @author d4peng <a href="d4peng@qq.com">d4peng@qq.com</a>
 * @since 2023.12.02
 */
public class DateTimeConstant {

	/**
	 * 常规格式
	 */
	public static final String NORM_DATE_YEAR_PATTERN = "yyyy";

	public static final String NORM_DATE_YEAR_MONTH_PATTERN = "yyyy-MM";

	public static final String NORM_DATE_YEAR_MONTH_DAY_PATTERN = "yyyy-MM-dd";

	public static final String NORM_TIME_HOUR_PATTERN = "HH";

	public static final String NORM_TIME_HOUR_MINUTE_PATTERN = "HH:mm";

	public static final String NORM_TIME_HOUR_MINUTE_SECOND_PATTERN = "HH:mm:ss";

	public static final String NORM_DATE_TIME_DELIMITER = " ";

	public static final String NORM_DATE_TIME_PATTERN = NORM_DATE_YEAR_MONTH_DAY_PATTERN + NORM_DATE_TIME_DELIMITER
			+ NORM_TIME_HOUR_MINUTE_SECOND_PATTERN;

	/**
	 * 纯格式
	 */
	public static final String PURE_DATE_YEAR_PATTERN = "yyyy";

	public static final String PURE_DATE_YEAR_MONTH_PATTERN = "yyyyMM";

	public static final String PURE_DATE_YEAR_MONTH_DAY_PATTERN = "yyyyMMdd";

	public static final String PURE_TIME_HOUR_PATTERN = "HH";

	public static final String PURE_TIME_HOUR_MINUTE_PATTERN = "HHmm";

	public static final String PURE_TIME_HOUR_MINUTE_SECOND_PATTERN = "HHmmss";

	public static final String PURE_DATE_TIME_DELIMITER = " ";

	public static final String PURE_DATE_TIME_PATTERN = PURE_DATE_YEAR_MONTH_DAY_PATTERN + PURE_DATE_TIME_DELIMITER
			+ PURE_TIME_HOUR_MINUTE_SECOND_PATTERN;

	/**
	 * 中文格式
	 */
	public static final String CHINESE_DATE_YEAR_PATTERN = "yyyy年";

	public static final String CHINESE_DATE_YEAR_MONTH_PATTERN = "yyyy年MM月";

	public static final String CHINESE_DATE_YEAR_MONTH_DAY_PATTERN = "yyyy年MM月dd日";

	public static final String CHINESE_TIME_HOUR_PATTERN = "HH时";

	public static final String CHINESE_TIME_HOUR_MINUTE_PATTERN = "HH时mm分";

	public static final String CHINESE_TIME_HOUR_MINUTE_SECOND_PATTERN = "HH时mm分ss秒";

	public static final String CHINESE_DATE_TIME_DELIMITER = "";

	public static final String CHINESE_DATE_TIME_PATTERN = CHINESE_DATE_YEAR_MONTH_DAY_PATTERN
			+ CHINESE_DATE_TIME_DELIMITER + CHINESE_TIME_HOUR_MINUTE_SECOND_PATTERN;

}
